package com.wzdigit.wms.basic.client.request.basic;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import java.util.List;

/**
 * 创建货品输入
 * @author yangdongjie
 * @CreateZoneGroupRequest.java
 * @2021年1月4日上午11:18:30
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class CreateSkuRequest extends CreateSkuBaseRequest {

	private static final long serialVersionUID = -5615040638052897116L;

	/**
	 * 货品控制
	 */
	@ApiModelProperty(value = "货品控制", required = false)
	@Valid
    private CreateUpdateSkuCtrlRequest ctrl;
	
	/**
	 * 货品属性列表
	 */
	@ApiModelProperty(value = "属性列表", required = false)
	@Valid
    private List<CreateUpdateSkuAttrRequest> attrs;
}